package com.wowo.aop.perform.xml;

import org.aspectj.lang.ProceedingJoinPoint;

public class Audience {

    public void turnOff(){
        System.out.println("asdasdasd");
    }
    //获得所拦截业务逻辑方法的返回结果
    public void afterShow(Object result){

        System.out.println(result);
    }
    public Object aroundShow(ProceedingJoinPoint pjp) throws Throwable {
        System.out.println(pjp.getSignature().toLongString());
        Object obj = pjp.proceed();
        return obj;
    }
}
